package com.xuesi.demoadmin.service;

import java.util.List;

import com.xuesi.demoadmin.entity.Permission;

public interface IPermissionService {
    public boolean checkPermission(String token, String requestUri);

    public List<Permission> selectPermissionListByUserId(Long userId);

    /**
     * 查询权限列表
     * 
     * @param permission 权限信息
     * @return 权限列表
     */
    public List<Permission> selectPermissionList(Permission permission);
}